package cn.edu.ncut.cs.springboot.mybatisplusemployee.mapper;

import cn.edu.ncut.cs.springboot.mybatisplusemployee.entity.UserRole;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import java.util.List;
/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author ncut
 * @since 2024-12-24
 */
public interface UserRoleMapper extends BaseMapper<UserRole> {
    List<UserRole> findByUserId(Long userId);

    void save(UserRole userRole);
}
